package top.wettis.chat.pojo.DO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;

import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 订单表
 * </p>
 *
 * @author wettis
 * @since 2023-03-25
 */
@Getter
@Setter
@TableName("payment")
public class Payment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "payment_id", type = IdType.AUTO)
    private Integer paymentId;

    @TableField("pay_type")
    private String payType;

    @TableField("paid_time")
    private LocalDate paidTime;

    @TableField("expire_time")
    private LocalDate expireTime;

    @TableField("user_id")
    private Integer userId;

    @TableField("is_refund")
    private Boolean refund;
}
